home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 April: Mac OS SDK / Dev.CD Apr 98 SDK1.toast / Development Kits (Disc 1) / QuickDraw 3D / Windows files / Q3WinSDK.exe / QD3DSDK / Samples / ViewerSample / QD3DSample.RC < prev    next >
Encoding:
Text File  |  1996-12-20  |  12.6 KB  |  336 lines

  1. //Microsoft Developer Studio generated resource script.
  2. //
  3. #include "resource.h"
  4.  
  5. #define APSTUDIO_READONLY_SYMBOLS
  6. /////////////////////////////////////////////////////////////////////////////
  7. //
  8. // Generated from the TEXTINCLUDE 2 resource.
  9. //
  10. #define APSTUDIO_HIDDEN_SYMBOLS
  11. #include "windows.h"
  12. #undef APSTUDIO_HIDDEN_SYMBOLS
  13. #include "winver.h"
  14.  
  15. /////////////////////////////////////////////////////////////////////////////
  16. #undef APSTUDIO_READONLY_SYMBOLS
  17.  
  18. /////////////////////////////////////////////////////////////////////////////
  19. // English (U.S.) resources
  20.  
  21. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  22. #ifdef _WIN32
  23. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  24. #pragma code_page(1252)
  25. #endif //_WIN32
  26.  
  27. /////////////////////////////////////////////////////////////////////////////
  28. //
  29. // Icon
  30. //
  31.  
  32. // Icon with lowest ID value placed first to ensure application icon
  33. // remains consistent on all systems.
  34. IDI_APP                 ICON    DISCARDABLE     "RES/QD3DSample.ICO"
  35.  
  36. /////////////////////////////////////////////////////////////////////////////
  37. //
  38. // Menu
  39. //
  40.  
  41. IDR_GENERIC MENU DISCARDABLE 
  42. BEGIN
  43.     POPUP "&File"
  44.     BEGIN
  45.         MENUITEM "&New",                        IDM_NEW
  46.         MENUITEM "&Open...",                    IDM_OPEN
  47.         MENUITEM "Save As...",                  IDM_SAVEAS
  48.         MENUITEM SEPARATOR
  49.         MENUITEM "E&xit",                       IDM_EXIT
  50.     END
  51.     POPUP "Edit"
  52.     BEGIN
  53.         MENUITEM "Undo",                        IDM_UNDO
  54.         MENUITEM SEPARATOR
  55.         MENUITEM "Cut",                         IDM_CUT
  56.         MENUITEM "&Copy",                       IDM_COPY
  57.         MENUITEM "Paste",                       IDM_PASTE
  58.         MENUITEM "Clear",                       IDM_CLEAR
  59.     END
  60.     POPUP "Flags"
  61.     BEGIN
  62.         MENUITEM "Control Strip",               IDM_CONTROLSTRIP
  63.         MENUITEM SEPARATOR
  64.         MENUITEM "Camera Button",               IDM_CAMERABUTTON
  65.         MENUITEM "Truck Button",                IDM_TRUCKBUTTON
  66.         MENUITEM "Orbit Button",                IDM_ORBITBUTTON
  67.         MENUITEM "Dolly Button",                IDM_DOLLYBUTTON
  68.         MENUITEM "Zoom Button",                 IDM_ZOOMBUTTON
  69.         MENUITEM "Reset Button",                IDM_RESETBUTTON
  70.         MENUITEM SEPARATOR
  71.         MENUITEM "Active",                      IDM_ACTIVE
  72.         MENUITEM "Badge",                       IDM_BADGE
  73.         MENUITEM "Text Mode",                   IDM_TEXTMODE
  74.         MENUITEM "Dragging In Off",             IDM_DRAGGINGINOFF
  75.         MENUITEM SEPARATOR
  76.         MENUITEM "SetWindow WS_BORDER",         IDM_DRAWFRAME
  77.     END
  78.     POPUP "API Tests"
  79.     BEGIN
  80.         MENUITEM "Test Q3WinViewerSetWindow",   IDM_TESTSETWINDOW
  81.         MENUITEM "Test Q3WinViewerGetMinimumDimension", IDM_TESTMINDIMENSION
  82.         MENUITEM "Test Q3WinViewerGetButtonRect", IDM_TESTGETBUTTONRECT
  83.         POPUP "Test Q3WinViewerSetCurrentButton"
  84.         BEGIN
  85.             MENUITEM "Camera Buton",                IDM_TESTSETCAMERABUTTON
  86.             MENUITEM "Truck Button",                IDM_TESTSETTRUCKBUTTON
  87.             MENUITEM "Rotate Button",               IDM_TESTSETROTATEBUTTON
  88.             MENUITEM "Zoom Button",                 IDM_TESTSETZOOMBUTTON
  89.             MENUITEM "Dolly Button",                IDM_TESTSETDOLLYBUTTON
  90.         END
  91.         MENUITEM "Test Q3WinViewerGetBitmap",   IDM_TESTGETBITMAP
  92.         MENUITEM "Test Q3ViewerSet/GetBackground Color", IDM_GETSETCOLOR
  93.         MENUITEM "Test Q3WinViewerWriteData",   IDM_TESTWRITEDATA
  94.     END
  95.     POPUP "&Help"
  96.     BEGIN
  97.         MENUITEM "&About QuickDraw 3D Viewer...", IDM_ABOUT
  98.     END
  99. END
  100.  
  101.  
  102. /////////////////////////////////////////////////////////////////////////////
  103. //
  104. // Accelerator
  105. //
  106.  
  107. IDR_GENERIC ACCELERATORS MOVEABLE PURE 
  108. BEGIN
  109.     "/",            IDM_ABOUT,              ASCII,  ALT, NOINVERT
  110.     "?",            IDM_ABOUT,              ASCII,  ALT, NOINVERT
  111.     "C",            IDM_COPY,               VIRTKEY, CONTROL, NOINVERT
  112.     "O",            IDM_OPEN,               VIRTKEY, CONTROL, NOINVERT
  113.     "Q",            IDM_EXIT,               VIRTKEY, CONTROL, NOINVERT
  114.     "S",            IDM_SAVEAS,             VIRTKEY, SHIFT, CONTROL, 
  115.                                                     NOINVERT
  116.     VK_F1,          IDM_ABOUT,              VIRTKEY, NOINVERT
  117. END
  118.  
  119.  
  120. /////////////////////////////////////////////////////////////////////////////
  121. //
  122. // Dialog
  123. //
  124.  
  125. IDD_ABOUTBOX DIALOGEX 22, 17, 253, 63
  126. STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
  127. CAPTION "About QuickDraw 3D Viewer"
  128. FONT 8, "MS Sans Serif", 0, 0, 0x1
  129. BEGIN
  130.     DEFPUSHBUTTON   "OK",IDOK,211,6,32,14,WS_GROUP
  131.     ICON            IDI_APP,-1,3,2,18,20
  132.     LTEXT           "CompanyName",IDC_COMPANYNAME,30,2,100,8
  133.     LTEXT           "FileDescription",IDC_FILEDESCRIPTION,30,10,116,8
  134.     RTEXT           "ProductVersion",IDC_PRODUCTVERSION,150,11,44,8,0,
  135.                     WS_EX_RIGHT
  136.     LTEXT           "LegalCopyright",IDC_LEGALCOPYRIGHT,30,18,137,8
  137.     LTEXT           "LegalTrademarks",IDC_LEGALTRADEMARKS,30,35,164,23
  138.     CONTROL         "",501,"Static",SS_BLACKRECT,29,31,165,1
  139. END
  140.  
  141. IDD_NEWVIEWERDIALOG DIALOG DISCARDABLE  0, 0, 383, 206
  142. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  143. CAPTION "Create Quickdraw 3D Viewer"
  144. FONT 8, "MS Sans Serif"
  145. BEGIN
  146.     DEFPUSHBUTTON   "OK",IDOK,327,7,50,14
  147.     PUSHBUTTON      "Cancel",IDCANCEL,327,24,50,14
  148.     EDITTEXT        IDC_WINDOWNAMEEDITBOX,61,13,66,12,ES_AUTOHSCROLL
  149.     LTEXT           "Window Name:",IDC_STATIC,7,15,52,9
  150.     GROUPBOX        "Windows Flags",IDC_STATIC,129,32,189,144
  151.     GROUPBOX        "Quickdraw 3D Flags",IDC_STATIC,13,32,110,144
  152.     CONTROL         "kQ3ViewerShowBadge",IDC_CHECKSHOWBADGE,"Button",
  153.                     BS_AUTOCHECKBOX | WS_TABSTOP,17,42,89,10
  154.     CONTROL         "kQ3ViewerActive",IDC_CHECKACTIVE,"Button",
  155.                     BS_AUTOCHECKBOX | WS_TABSTOP,17,52,71,10
  156.     CONTROL         "kQ3ViewerControllerVisible",IDC_CHECKCONTROLLERVISIBLE,
  157.                     "Button",BS_AUTOCHECKBOX | WS_TABSTOP,17,62,100,10
  158.     CONTROL         "kQ3ViewerDrawFrame",IDC_CHECKSHOWBADGE4,"Button",
  159.                     BS_AUTOCHECKBOX | WS_TABSTOP,17,72,87,10
  160.     CONTROL         "kQ3ViewerButtonCamera",IDC_CHECKCAMERABUTTON,"Button",
  161.                     BS_AUTOCHECKBOX | WS_TABSTOP,17,82,95,10
  162.     CONTROL         "kQ3ViewerButtonTruck",IDC_CHECKBUTTONTRUCK,"Button",
  163.                     BS_AUTOCHECKBOX | WS_TABSTOP,17,92,90,10
  164.     CONTROL         "kQ3ViewerButtonOrbit",IDC_CHECKBUTTONORBIT,"Button",
  165.                     BS_AUTOCHECKBOX | WS_TABSTOP,17,102,86,10
  166.     CONTROL         "kQ3ViewerButtonZoom",IDC_CHECKBUTTONZOOM,"Button",
  167.                     BS_AUTOCHECKBOX | WS_TABSTOP,17,112,89,10
  168.     CONTROL         "kQ3ViewerButtonDolly",IDC_CHECKNBUTTONDOLLY,"Button",
  169.                     BS_AUTOCHECKBOX | WS_TABSTOP,17,122,87,10
  170.     CONTROL         "kQ3ViewerButtonReset",IDC_CHECKBUTTONRESET,"Button",
  171.                     BS_AUTOCHECKBOX | WS_TABSTOP,17,132,90,10
  172.     CONTROL         "kQ3ViewerOutputTextMode",IDC_CHECKOUTPUTTEXT,"Button",
  173.                     BS_AUTOCHECKBOX | WS_TABSTOP,17,142,104,10
  174.     CONTROL         "kQ3ViewerDraggingInOff",IDC_CHECKDRAGINOFF,"Button",
  175.                     BS_AUTOCHECKBOX | WS_TABSTOP,17,152,95,10
  176.     CONTROL         "kQ3ViewerDefault",IDC_CHECKDEFAULT,"Button",
  177.                     BS_AUTOCHECKBOX | WS_TABSTOP,17,162,73,10
  178.     CONTROL         "WS_OVERLAPPED",IDC_CHECKOVERLAPPED,"Button",
  179.                     BS_AUTOCHECKBOX | WS_TABSTOP,135,45,80,10
  180.     CONTROL         "WS_POPUP",IDC_CHECKPOPUP,"Button",BS_AUTOCHECKBOX | 
  181.                     WS_TABSTOP,135,55,57,10
  182.     CONTROL         "WS_CHILD",IDC_CHECKCHILD,"Button",BS_AUTOCHECKBOX | 
  183.                     WS_TABSTOP,135,65,53,10
  184.     CONTROL         "WS_MINIMIZE",IDC_CHECKMINIMIZE,"Button",BS_AUTOCHECKBOX | 
  185.                     WS_TABSTOP,135,75,65,10
  186.     CONTROL         "WS_DISABLED",IDC_CHECKDISABLED,"Button",BS_AUTOCHECKBOX | 
  187.                     WS_TABSTOP,135,95,67,10
  188.     CONTROL         "WS_CLIPSIBLINGS",IDC_CHECKCLIPSIBLINGS,"Button",
  189.                     BS_AUTOCHECKBOX | WS_TABSTOP,135,105,80,10
  190.     CONTROL         "WS_CLIPCHILDREN",IDC_CHECKCLIPCHILDREN,"Button",
  191.                     BS_AUTOCHECKBOX | WS_TABSTOP,135,115,84,10
  192.     CONTROL         "WS_MAXIMIZE",IDC_CHECKMAXIMIZE,"Button",BS_AUTOCHECKBOX | 
  193.                     WS_TABSTOP,135,125,67,10
  194.     CONTROL         "WS_CAPTION",IDC_CHECKCAPTION,"Button",BS_AUTOCHECKBOX | 
  195.                     WS_TABSTOP,135,135,63,10
  196.     CONTROL         "WS_BORDER",IDC_CHECKBORDER,"Button",BS_AUTOCHECKBOX | 
  197.                     WS_TABSTOP,135,145,63,10
  198.     CONTROL         "WS_DLGFRAME",IDC_CHECKDLGFRAME,"Button",BS_AUTOCHECKBOX | 
  199.                     WS_TABSTOP,135,155,71,10
  200.     CONTROL         "WS_VSCROLL",IDC_CHECKVSCROLL,"Button",BS_AUTOCHECKBOX | 
  201.                     WS_TABSTOP,135,165,65,10
  202.     CONTROL         "WS_VISIBLE",IDC_CHECKVISIBLE,"Button",BS_AUTOCHECKBOX | 
  203.                     WS_TABSTOP,135,85,59,10
  204.     CONTROL         "WS_HSCROLL",IDC_CHECKHSCROLL,"Button",BS_AUTOCHECKBOX | 
  205.                     WS_TABSTOP,233,44,65,10
  206.     CONTROL         "WS_SYSMENU",IDC_CHECKSYSMENU,"Button",BS_AUTOCHECKBOX | 
  207.                     WS_TABSTOP,233,55,67,10
  208.     CONTROL         "WS_THICKFRAME",IDC_CHECKTHICKFRAME,"Button",
  209.                     BS_AUTOCHECKBOX | WS_TABSTOP,233,65,78,10
  210.     CONTROL         "WS_MAXIMIZE",IDC_CHECKMAXIMIZE2,"Button",
  211.                     BS_AUTOCHECKBOX | WS_TABSTOP,233,74,67,10
  212.     CONTROL         "WS_MINIMIZEBOX",IDC_CHECKMINIMIZEBOX,"Button",
  213.                     BS_AUTOCHECKBOX | WS_TABSTOP,233,84,79,10
  214.     CONTROL         "WS_MAXIMIZEBOX",IDC_CHECKMAXIMIZEBOX,"Button",
  215.                     BS_AUTOCHECKBOX | WS_TABSTOP,233,95,81,10
  216.     CONTROL         "Use Q3WinViewerNew",IDC_RADIOUSEQ3WINVIEWERNEW,"Button",
  217.                     BS_AUTORADIOBUTTON | WS_GROUP,14,181,89,10
  218.     CONTROL         "Use CreateWindowEx",IDC_RADIOUSECREATEWINDOW,"Button",
  219.                     BS_AUTORADIOBUTTON | WS_GROUP,104,181,85,10
  220.     GROUPBOX        "Static",IDC_STATIC,192,182,137,17
  221. END
  222.  
  223.  
  224. #ifndef _MAC
  225. /////////////////////////////////////////////////////////////////////////////
  226. //
  227. // Version
  228. //
  229.  
  230. 1 VERSIONINFO
  231.  FILEVERSION 1,5,0,23
  232.  PRODUCTVERSION 1,5,0,23
  233.  FILEFLAGSMASK 0x3fL
  234. #ifdef _DEBUG
  235.  FILEFLAGS 0x2bL
  236. #else
  237.  FILEFLAGS 0x2aL
  238. #endif
  239.  FILEOS 0x4L
  240.  FILETYPE 0x1L
  241.  FILESUBTYPE 0x0L
  242. BEGIN
  243.     BLOCK "StringFileInfo"
  244.     BEGIN
  245.         BLOCK "040904e4"
  246.         BEGIN
  247.             VALUE "Comments", "Apple Preliminary\0"
  248.             VALUE "CompanyName", "Apple Computer, Inc.\0"
  249.             VALUE "FileDescription", "QuickDraw 3D Viewer Application\0"
  250.             VALUE "FileVersion", "1, 5, 0, 23\0"
  251.             VALUE "InternalName", "Quickdraw 3D Viewer Demo\0"
  252.             VALUE "LegalCopyright", "Copyright © 1996 Apple Computer, Inc.\0"
  253.             VALUE "LegalTrademarks", "QuickDraw is a trademark of Apple Computer, Inc.\0"
  254.             VALUE "OriginalFilename", "\0"
  255.             VALUE "ProductName", "QuickDraw 3D Demo\0"
  256.             VALUE "ProductVersion", "1, 5, 0, 23\0"
  257.             VALUE "SpecialBuild", "Preliminary\0"
  258.         END
  259.     END
  260.     BLOCK "VarFileInfo"
  261.     BEGIN
  262.         VALUE "Translation", 0x409, 1252
  263.     END
  264. END
  265.  
  266. #endif    // !_MAC
  267.  
  268.  
  269. #ifdef APSTUDIO_INVOKED
  270. /////////////////////////////////////////////////////////////////////////////
  271. //
  272. // TEXTINCLUDE
  273. //
  274.  
  275. 1 TEXTINCLUDE DISCARDABLE 
  276. BEGIN
  277.     "resource.h\0"
  278. END
  279.  
  280. 2 TEXTINCLUDE DISCARDABLE 
  281. BEGIN
  282.     "#define APSTUDIO_HIDDEN_SYMBOLS\r\n"
  283.     "#include ""windows.h""\r\n"
  284.     "#undef APSTUDIO_HIDDEN_SYMBOLS\r\n"
  285.     "#include ""winver.h""\r\n"
  286.     "\0"
  287. END
  288.  
  289. 3 TEXTINCLUDE DISCARDABLE 
  290. BEGIN
  291.     "\r\n"
  292.     "\0"
  293. END
  294.  
  295. #endif    // APSTUDIO_INVOKED
  296.  
  297.  
  298. /////////////////////////////////////////////////////////////////////////////
  299. //
  300. // DESIGNINFO
  301. //
  302.  
  303. #ifdef APSTUDIO_INVOKED
  304. GUIDELINES DESIGNINFO DISCARDABLE 
  305. BEGIN
  306.     IDD_ABOUTBOX, DIALOG
  307.     BEGIN
  308.         RIGHTMARGIN, 252
  309.     END
  310.  
  311.     IDD_NEWVIEWERDIALOG, DIALOG
  312.     BEGIN
  313.         LEFTMARGIN, 7
  314.         RIGHTMARGIN, 377
  315.         TOPMARGIN, 7
  316.         BOTTOMMARGIN, 199
  317.     END
  318. END
  319. #endif    // APSTUDIO_INVOKED
  320.  
  321. #endif    // English (U.S.) resources
  322. /////////////////////////////////////////////////////////////////////////////
  323.  
  324.  
  325.  
  326. #ifndef APSTUDIO_INVOKED
  327. /////////////////////////////////////////////////////////////////////////////
  328. //
  329. // Generated from the TEXTINCLUDE 3 resource.
  330. //
  331.  
  332.  
  333. /////////////////////////////////////////////////////////////////////////////
  334. #endif    // not APSTUDIO_INVOKED
  335.  
  336.